home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 4 / United Public Domain Gold 4.iso / tbag / tb015.dms / tb015.adf / Doc-Files / Graphics.Doc < prev    next >
Text File  |  1988-01-02  |  21KB  |  532 lines

  1.  
  2. Graphics Docs
  3. This file includes Documentation for all files in the Graphics Drawer. They 
  4. have all been combined into one to save disk space.
  5.  
  6. The Docs included in this file are:
  7. Play.Doc
  8. Clip-It.Doc
  9. SuperBreakOut.Doc
  10. View.Doc
  11.  
  12. Doc File Headers are in RED!
  13.  
  14. *****************************************************************************
  15. PLAY Documentation
  16.  
  17. Sonix Score Player 1.0 - December 1, 1987
  18. (C) Copyright 1987 Mark Riley,
  19. All Rights Reserved.
  20.  
  21. Sonix is a trademark of Aegis Development, Inc.
  22. Amiga and Workbench are trademarks of Commodore-Amiga, Inc.
  23.  
  24.  
  25. Some Information About PLAY
  26. ===========================
  27.  
  28. PLAY is that program you've been patiently waiting for that'll let you
  29. listen to Sonix tunes without Sonix itself.  Not only can you play scores,
  30. but you can also create PLAY scripts that play multiple scores, one right
  31. after the next.  This allows for continuous music which is desirable for
  32. slide shows and the like.  This is possible since PLAY can start a score
  33. playing, while preloading the next score.  In addition, PLAY may be used
  34. from either the Workbench or the CLI.
  35.  
  36. This program is ShareWare; it isn't free.  If you like PLAY and want to
  37. continue to use it, please send $10 to the address below.  This will make
  38. you a legal user of PLAY.
  39.  
  40.   Mark Riley - Play
  41.   P.O. Box 234
  42.   Simi Valley, CA 93062
  43.  
  44. Thank you!  Paying for PLAY will help to reimburse me for the time I spent
  45. on it, as well as to provide improved versions with time...  If you have
  46. any questions or comments regarding PLAY, I can be reached at the above
  47. address or the following services:
  48.  
  49. BIX: mriley - PLINK: SONIX
  50.  
  51. PLAY is a quality program, well worth the money you'll spend for it.  With
  52. PLAY you don't need to buy an expensive music composing program if all you
  53. want to do is listen.  So, let PLAY and your Amiga rock you...
  54.  
  55. Enjoy!  -Mark-
  56.  
  57.  
  58. Important Note
  59. ==============
  60.  
  61. You (as an individual) may freely redistribute PLAY in its original unaltered
  62. (and PAKed) state provided that you do not charge money for the program.
  63. PLAY is intended for private use only.  It is copyrighted software.  It may
  64. not be used (in full or in part) for commercial applications, nor may it be
  65. used for demonstration purposes associated with commercial applications.
  66. If it is your desire to do so, I may be reached at the above address or at
  67. (805) 583-8173 to discuss licensing arrangements for including PLAY or its
  68. object code routines into your application.
  69.  
  70.  
  71. What You've Got Here
  72. ====================
  73.  
  74. This file "Play.pak" was created by another utility I put together called
  75. Pak (which is now floating around the various BBS's.)  In addition to
  76. the PLAY files, I've thrown in my LED program which swaps in/out the audio
  77. filter on an Amiga 500 or 2000.
  78.  
  79. Play           The Sonix score player itself
  80. Play.doc       The file you are now reading
  81. Play.info      An icon for the score player
  82. Score.info     A generic score icon
  83. Script.info    A generic script file icon
  84. Scores.info    A generic scores drawer icon
  85. LED            Swaps audio filter on A500/A2000
  86. LED.info       Icon for the LED program
  87.  
  88.  
  89. Playing Scores from the Workbench
  90. =================================
  91.  
  92. Before you can use PLAY from the Workbench, there's a little setting up
  93. to do.  First off, PLAY and it's ".info" file should be copied to the root
  94. directory of the disk that contains your Sonix scores.  Secondly, if your
  95. scores are located in a directory other than the root, you need to copy
  96. the "Scores.info" drawer icon into the score directory's parent directory.
  97. If your score directory is named "My Tunes" then the drawer icon should
  98. be named "My Tunes.info".  Thirdly, you need to make copies of the
  99. "Score.info" icon file for each score and place them in the same directory
  100. as that score.  These icons must have the same name as the score file with
  101. ".info" appended at the end.  If a score is named "Jingle Bells.smus" then
  102. the corresponding icon should be named "Jingle Bells.smus.info".  If the
  103. instruments for a particular score are in a different directory, then you
  104. must specify where they are in the icon file.  To do this, select the icon
  105. for the score, then select the Info item in the Workbench menu.  In the
  106. Tool Types box type the pathname of the instrument directory after the
  107. "I=" and Save the info file.  Relative pathnames such as "I=/Instruments"
  108. are ok here.
  109.  
  110. Now, just double click on a score icon and it should load and play.  You
  111. may also use extended selection to play multiple scores in the order they
  112. were selected.  If PLAY encounters a problem and can't load the score it
  113. will "beep" the display and try to load the next score (if any.)  If you
  114. wish to stop playing a score, double click on the PLAY icon.  Also, if
  115. you try to play a score while another is playing, the new score will
  116. override the previous one.
  117.  
  118.  
  119. Playing Scores from the CLI
  120. ===========================
  121.  
  122. Usage: PLAY [*] [I=instrdir] score[.SMUS]
  123.  
  124. If you plan on using PLAY from the CLI then copy "Play" to your commands
  125. "c:" directory.  Just specify the pathname for the instruments directory
  126. and the pathname for the score, and PLAY will load and play that score.
  127. You don't need to type the ".smus" part of the score name as PLAY will
  128. do that for you if necessary.  Use quotes if a pathname has spaces in it.
  129. If you want PLAY to run asynchronously, add the asterisk as the first
  130. parameter.  This works better than "run" because it allows you to perform
  131. an "endcli" properly.  This is useful for playing songs from a startup
  132. sequence.  To stop a score while playing, just issue a Ctrl-C to abort
  133. (if PLAY is running asynchronously then use "play *" or start another score
  134. playing to abort the original score.)
  135.  
  136. Example:
  137.  
  138. 1> dir
  139.      Scores (dir)
  140.      Instruments (dir)
  141. 1> dir scores
  142.   Jingle Bells.smus           Cameo.smus
  143.   YTV.smus
  144. 1> play i=instruments "scores/jingle bells"
  145. 1> cd scores
  146. 1> play i=/instruments ytv cameo.smus
  147. 1> cd /instruments
  148. 1> play * /scores/cameo
  149. 1> 
  150.  
  151.  
  152. Creating & Using PLAY Scripts
  153. =============================
  154.  
  155. PLAY scripts basicly allow you to sequence through many songs back-to-back.
  156. This feature is especially useful for slide shows or demonstrations that
  157. require backround music.  You might even want to setup a sequence of songs
  158. you want your Amiga to play in the backround while you are busy with other
  159. tasks.  One important feature of PLAY scripts is that they enable you
  160. to play one score while loading the next.  This way you get continuous
  161. music since no time is spent loading a score between songs.
  162.  
  163. To create a PLAY script, you need a text editor of some type.  PLAY scripts
  164. consist of a series of options seperated by spaces, commas, or carriage
  165. returns.  Most options consist of a letter, an equals sign "=", and an
  166. argument.  If an argument (such as a pathname) has spaces in it then
  167. enclose that argument in quotes.  When you save your PLAY script, you might
  168. want to use the extension ".play" so that you can distinguish PLAY scripts
  169. from other types of files.  PLAY script options are discussed in the next
  170. section.
  171.  
  172. You may start a PLAY script from either the Workbench or the CLI.  You must
  173. put a copy of the "Script.info" icon file in the same directory with your
  174. PLAY script (appropriately renamed.)  Just double-click on the icon to
  175. start your script playing.  To invoke a PLAY script from the CLI you
  176. use the following:
  177.  
  178. Usage: PLAY [*] P=script
  179.  
  180. In addition to aborting a PLAY script with a Ctrl-C, you may stop the
  181. current song and skip to the next with a Ctrl-E.  When invoked from
  182. a CLI, PLAY can report any errors it encounters within a script file.
  183.  
  184. Example:
  185.  
  186. 1> dir
  187.      Scores (dir)
  188.      Instruments (dir)
  189.   Demo.play
  190. 1> dir scores
  191.   Cool.smus                   Cameo.smus
  192.   Rollover.smus               YTV.smus
  193. 1> type demo.play
  194. ;This is a demo PLAY script:
  195.  
  196. d=scores        ;Set current directory
  197. i=/instruments  ;Specify instruments directory
  198.  
  199. r=2                 ;Repeat the following twice
  200.   v=128 c=3 a=cool  ;1/2 volume & repeated 3 times
  201.   v=-1 a=cameo      ;Use score's original volume
  202. .                   ;End of repeat loop
  203.  
  204. r=0           ;Repeat the following forever
  205.   a=rollover  ;A bunch of asyncronous scores
  206.   a=ytv
  207.   c=2 a=cool  ;Repeated twice again
  208.   a=cameo
  209. .             ;End of repeat loop
  210. 1> play p=demo.play
  211. 1> 
  212.  
  213.  
  214. PLAY Script Options
  215. ===================
  216.  
  217. These options may be used in either a PLAY script or in the command line
  218. itself.  For simplicity's sake, the usage desciptors do not indicate all
  219. of these options.
  220.  
  221. score       A filename by itself indicates a score to be loaded and played.
  222.             PLAY will append ".smus" to the filename as necessary.
  223.  
  224. A=score     This option tells PLAY to play the specified score and proceed
  225.             immediately with loading the next score.  This allows for
  226.             continuously playing music.  One drawback is that you need
  227.             enough memory to hold two scores and their instruments into
  228.             memory at one time.
  229.  
  230. I=instrdir  This specifies to PLAY where to look for a score's instruments.
  231.             This applies to all subsequent scores until it is changed again
  232.             with another "I=".  Relative pathnames are ok here.
  233.  
  234. D=newdir    PLAY scripts inherit their current directory from the Workbench
  235.             or CLI.  You can specify a new current directory with this
  236.             option.  Relative pathnames are also legal here.
  237.  
  238. C=count     Specifies how many times to repeat a score.  A value of zero
  239.             indicates that this score is to be repeated forever (or until
  240.             aborted...)  The count value applies only to the next score to
  241.             be played.
  242.  
  243. V=volume    Specifies the volume at which the following scores will be
  244.             played.  The valid range is from 0 to 255.  A value of -1
  245.             uses the score's default volume.
  246.  
  247. R=repeat    This option allows you to repeat a block of options (and
  248. .           scores) a number of times.  The repeat block is bounded by
  249.             the repeat option and a period "." (or another repeat option.)
  250.             A value of zero indicates that the block is to be repeated
  251.             forever.  Repeat blocks only work from within PLAY scripts.
  252.  
  253. ;comment    A semi-colon ";" indicates that the rest of a line is a
  254.             comment.
  255.  
  256. P=script    You may link to another PLAY script from within a PLAY script.
  257.  
  258.  
  259. The LED Program
  260. ===============
  261.  
  262. This program toggles the brightness of the front panel LED.  Also, on the
  263. Amiga 500 & 2000 it will swap in/out the audio filter.  It can be
  264. started from either the Workbench or the CLI.  Type "LED ?" to see the
  265. parameters for CLI invocation.  While running a program that uses Amiga
  266. sound output, try double clicking on the icon and you'll notice a
  267. substantial difference when the filter gets swapped out.  It's like 
  268. someone took the cotton out of your ears!  You may hear a squealling sound;
  269. this is the aliasing that the filter was designed to eliminate in the first
  270. place.  Double clicking again will turn the filter back on.
  271.  
  272. Example:  (for using with the CLI)
  273.  
  274. 1> play * ytv   ;Play a score asynchronously
  275. 1> led ?        ;Lets you see usage
  276. LED 1.1 - Mark Riley - 11/11/87
  277. Usage: LED [DIM|BRIGHT|TOGGLE]
  278. 1> led          ;Toggles status of audio filter
  279. 1> led bright   ;Turns filter on
  280. 1> led dim      ;Turns filter off
  281. 1> led toggle   ;Same as "led" by itself
  282. 1>
  283.  
  284.  
  285.  
  286. ****************************************************************************
  287.  
  288.    ClipIt 1.1                            Copyright (c) 1987 by Mike Scalora
  289.  
  290.    This program is shareware.   Freely distributable as long as this 
  291.    notice stays in.
  292.  
  293.    This program was originally uploaded to PeopleLink's Amiga Zone.  The 
  294.    Amiga Zone has well over 3000 members, and a library of thousands of 
  295.    public domain files.  If you're interested in joining us, call 
  296.       800-524-0100 (voice) 
  297.    or 800-826-8855 (modem).
  298.  
  299.   This program is shareware.  If you use it, please send me $10 so I can
  300.   continue to not work at McDonald's so that I will have the free time
  301.   to write program for you, the Amiga community.  Please give ClipIt
  302.   to all the Amgia users you know.
  303.  
  304.   Non-distributable source code is available (on disk) for $20 (Includes 
  305.   shareware fee!).  The source code for this is Benchmark Modula-2 and 
  306.   assembler.  To compile the source you must have Benchmark Modula-2.  
  307.   If you want to re-assemble the InputHandler, you must also have an
  308.   assembler. (Asm68K, the PD assembler, will NOT work, sorry.  It does 
  309.   not work with the Benchmark Modula-2 include files.)  A make file will 
  310.   also be included.  Free updates with SASMw/3.5"disk.
  311.   Source shows how to:
  312.     - write an InputHandler (in ASM) and interface it with Modula-2
  313.     - write simple ILBM files (1.4K routine vs. 5K for library routine)
  314.     - do window iconification.
  315.  
  316.   Send your contribution to:
  317.  
  318.   Mike SCARY Scalora
  319.   342 Hurley Ave
  320.   Kingston, NY  12401
  321.  
  322.   NOTE to PLink users: Shareware fees can be paid using a PLink gift!  Save
  323.                        time and stamps!
  324.  
  325.  ---------------------------------------------------------------------------
  326.  
  327.   ClipIt is a utility for the Amiga that lets you take 'clips' of graphics
  328.   from any screen.  The 'clips' are 'clipped' into a window and can then
  329.   be saved in IFF format.  You can have up to 5 'clips' at any one time.  
  330.   You can have 'clips' on any screen**.
  331.  
  332.   ** 1)  Some screens don't like windows on them (i.e. DPaintII) and 'clip'
  333.          windows will erase what is under them.
  334.  
  335.   ** 2)  If you close a screen while there is a 'clip' window on it, you
  336.          stand a good chance of meeting the guru or locking up ClipIt.  I
  337.          tried this a few times to see what would happen.  I never got the 
  338.          guru, but I locked up ClipIt every time.
  339.  
  340.   How to use ClipIt:
  341.   
  342.   To take a clip, just hold down the LEFT-Alt key and drag out an 
  343.   imaginary box with the mouse and the LEFT-Button.  That was
  344.   LEFT-Alt - LEFT-Button-drag.  Got it?  Good!
  345.  
  346.   NOTES: You can only clip from the front screen, and to get good results,
  347.   you should have this screen pulled all the way up.
  348.  
  349.   The ClipIt window.  When you run ClipIt, it opens a control window on
  350.   the Workbench screen.  This window is used to select options and 
  351.   save 'clips'.  There are 5 number gadgets that select the 'clip' to
  352.   be saved.  The SAVE AS gadgets is used to save the 'clips'.  Next to it
  353.   is a string gadgets that is used to specify the file name to save the
  354.   'clip' under.  The default file name is 'RAM:Clip.iff'.  There is
  355.   also a gadget labeled 'Clip to Workbench'.  When this gadget is on,
  356.   all 'clip' windows will be opened on the Workbench screen.  When the
  357.   'Color' gadget is on, 'clip' windows will be opened with the border
  358.   in color 3 instead of color 1.  'Kill HOT-KEYS' turns off ClipIt.
  359.   While this gadget is selected, any LEFT-Alt - LEFT-Button events will
  360.   be passed on to intuition. The last gadget is 'Iconify', this gadget
  361.   closes the control window and opens a small 'icon' window.  To open the
  362.   control window back up, just click in the non-border area of the 'icon' 
  363.   window.
  364.  
  365.   ClipIt will run from both CLI and Workbench.  If you run ClipIt from 
  366.   Workbench, a small, I'm talking small here, window will be opened in
  367.   the very top left corner.  How small you ask?  1 by 1!
  368.  
  369.   ClipIt will refuse to make clips that are too large or too small.
  370.  
  371.   NOTE: If you need to use Alt and the LEFT-Button on the mouse and you 
  372.   don't want to use 'Kill HOT-KEYS', use the RIGHT-Alt.  RIGHT-Alt is NOT
  373.   used by ClipIt.
  374.  
  375.   I was thinking of making the clip windows sizable.  It would take a bit
  376.   of code.  Is it needed?  Wadda ya thin?  I was also thinking about 
  377.   putting in a 'save-screen' feature.  Is this needed with all the PD
  378.   screen savers around?  If I did that, I think I would have to go to a
  379.   packed ILBM file.  That could turn out to be a lot of code also.
  380.  
  381.   If you find a bug, OR you thing you have a good idea of something else
  382.   that could be put into ClipIt, please let me know.
  383.  
  384.   I can be reached at:
  385.  
  386.   People Link: SCARY
  387.   Internet   : SCALOR01@SNYNEWBA.bitnet
  388.   CI$        : 73717,2334    (every other cold day in hell)
  389.  
  390.   OR
  391.  
  392.   - ] Mike SCARY Scalora [ -
  393.   342 Hurley Ave 7-12
  394.   Kingston, NY  12401
  395. *****************************************************************************
  396.                 SUPER BRICKOUT
  397.                 --------------
  398.                            by
  399.                   James David Walley
  400.  
  401.     For all those with a nostalgia for the first video games, here is an
  402. all-time classic.  (Did you know that the Atari arcade version was programmed by
  403. none other than Steve Wozniak?)
  404.  
  405.     This version is based on the first Brickout made available for the
  406. Amiga, written in ABasiC by Wayne Davison.  Super Breakout is written in C, and
  407. includes a few new features:
  408.  
  409.     o Three games available:
  410.         BRICKOUT -- The standard
  411.         BRICKTHRU -- The ball keeps going until it hits a wall
  412.         DOUBLE -- Two paddles and two balls
  413.     o True STEREO sound
  414.     o Different tones from each brick hit.  Make music with your game!
  415.  
  416.     One note:  for best game-play with the DOUBLE game, I would recommend a
  417. system with TRUE FastRam.
  418.  
  419.     While the game of Brickout is certainly a generic concept, this specific
  420. version is (C)opyright 1987 by Bit Player Software.  The author of this program
  421. and Bit Player Software give permission for this game to be freely distributed,
  422. under the following conditions:
  423.  
  424.     1) This game may not be modified, and must be distributed along
  425.        with this documentation file.
  426.     2) No charge may be made for this game (user groups, public-domain
  427.        disk libraries, and the like may charge a sum not exceeding $5
  428.        to defray charges for media, postage, etc.).
  429.     3) This game may NOT be uploaded to or posted on CompuServe without
  430.        written permission of the author and Bit Player Software.  Until
  431.        such time as CompuServe ceases to claim copyright over all 
  432.            programs uploaded to it, and readmits John Foust to the AmigaForum,
  433.        such permission will be AUTOMATICALLY denied.
  434.  
  435.     If you enjoy Super Brickout, your contributions would be welcomed.  We
  436. are a new software company that would like to be able to go the shareware route
  437. as much as possible.  In order to help us do that, please send any contributions
  438. to:
  439.             Bit Player Software
  440.             9021 Evergreen Way--Suite 130
  441.             Everett, WA   98204-7118
  442.  
  443.     We thank you for your support.
  444. *****************************************************************************
  445. VIEW Documentation
  446.  
  447. IFF (ILBM) Picture VIEWer 1.0 - January 1, 1988
  448. (C) Copyright 1987 Mark Riley, All Rights Reserved.
  449.  
  450. VIEW is a *small* utility for displaying IFF pictures.  Now, I realize that
  451. there are plenty of IFF viewers out there already, but I thought that this
  452. one would be of interest because of its small size (only 600 bytes.)  There's
  453. no fancy anything in VIEW, since it is optimized for size.  This means no
  454. error messages or built in usage facilities.  Thus, VIEW is the smallest,
  455. tiniest, dirtiest IFF picture VIEWer in town (until some tall dark stranger
  456. comes up and blows it away... ;-)  If you haven't guessed already, VIEW
  457. is written in assembly language.
  458.  
  459. I'd like to thank Andry Rachmat for posting USHOW 2.0; there were some neat
  460. tricks for optimizing in it.  No doubt VIEW can probably be squeezed in size
  461. further, but I thought I'd release it and see what someone else can come
  462. up with.
  463.  
  464. Feel free to redistribute VIEW (for non commercial purposes only.)  If there
  465. are any questions or problems, I can be reached at the following services:
  466.  
  467. PLINK: SONIX - BIX: mriley
  468.  
  469. Happy VIEWing....  ;-)  -Mark-
  470.  
  471. P.S.  I'll be uploading a more robust version of VIEW that'll interact with
  472.       PLAY (my Sonix score player) and allow people to easily put together
  473.       really polished looking slide shows w/music.  Look for it at a BBS
  474.       near you!
  475.  
  476.  
  477. VIEWing Pictures
  478. ================
  479.  
  480. VIEW is simple to use.  You may want to install it into your "c:" directory
  481. before you use it though.  This way it'll be there no matter which directory
  482. you move to.
  483.  
  484. Usage: VIEW picture
  485.  
  486. Don't use quotes when typing the picture name, even if there are spaces.
  487. This is because there is no command line parser in VIEW (optimization), so
  488. what you type is what you get (I think it's actually easier.)  If VIEW has
  489. any problem displaying the picture, it'll just exit, no error message, no
  490. nothing (sacrifice for optimization.)
  491.  
  492. Once the picture is up, you can use the usual invisible screen drag and
  493. front/back gadgets to manipulate it.
  494.  
  495. To quit a picture, just type Ctrl-C.  The CLI from which you issued the
  496. VIEW command must be active in order for Ctrl-C to work (this is the case
  497. if you don't go roaming around to other screens while VIEWing.)  Otherwise
  498. just click in the CLI window and do a Ctrl-C.
  499.  
  500. If you "run" view then issue a "break" to the process number you ran it as.
  501. Here's an example:
  502.  
  503. 1> run view nagel
  504. [CLI 2]
  505. 1> break 2
  506. 1>
  507.  
  508. Being able to run VIEW, makes it a natural in execute files (slide shows)
  509. since you can quit it remotely with a break command:
  510.  
  511. 1> type slideshow
  512. run >nil: view nagel
  513. wait 10
  514. break 2
  515. run >nil: view nagel2
  516. wait 10
  517. break 2
  518. 1> execute slideshow
  519. 1>
  520.  
  521. *****************************************************************************
  522.